/*     */ package eos.moe.dragoncore;
/*     */ 
/*     */ import java.util.List;
/*     */ import javax.vecmath.Matrix4f;
/*     */ import net.minecraft.block.state.IBlockState;
/*     */ import net.minecraft.client.renderer.GlStateManager;
/*     */ import net.minecraft.client.renderer.block.model.BakedQuad;
/*     */ import net.minecraft.client.renderer.block.model.IBakedModel;
/*     */ import net.minecraft.client.renderer.block.model.ItemCameraTransforms;
/*     */ import net.minecraft.client.renderer.block.model.ItemOverrideList;
/*     */ import net.minecraft.client.renderer.texture.TextureAtlasSprite;
/*     */ import net.minecraft.util.EnumFacing;
/*     */ import org.apache.commons.lang3.tuple.Pair;
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ public class uf
/*     */   implements IBakedModel
/*     */ {
/*     */   public final IBakedModel w;
/*     */   private ela.eos/moe/dragoncore/uba q;
/*     */   private wp g;
/*     */   
/*     */   public wp getTextureMap() {
/*  27 */     return this.g;
/*     */   }
/*     */   
/*     */   public uf(wp wp1, IBakedModel iBakedModel, ela.eos/moe/dragoncore/uba eos/moe/dragoncore/uba1) {
/*  31 */     this.g = wp1;
/*  32 */     this.w = iBakedModel;
/*  33 */     this.q = eos/moe/dragoncore/uba1;
/*     */   }
/*     */ 
/*     */ 
/*     */   
/*     */   public List<BakedQuad> func_188616_a(IBlockState iBlockState, EnumFacing enumFacing, long l) {
/*  39 */     return this.w.func_188616_a(iBlockState, enumFacing, l);
/*     */   }
/*     */ 
/*     */   
/*     */   public boolean func_177555_b() {
/*  44 */     return this.w.func_177555_b();
/*     */   }
/*     */ 
/*     */ 
/*     */   
/*     */   public boolean func_177556_c() {
/*  50 */     return this.w.func_177556_c();
/*     */   }
/*     */ 
/*     */ 
/*     */   
/*     */   public boolean func_188618_c() {
/*  56 */     return this.w.func_188618_c();
/*     */   }
/*     */ 
/*     */ 
/*     */   
/*     */   public TextureAtlasSprite func_177554_e() {
/*  62 */     return this.w.func_177554_e();
/*     */   }
/*     */ 
/*     */ 
/*     */   
/*     */   public ItemOverrideList func_188617_f() {
/*  68 */     return this.w.func_188617_f();
/*     */   }
/*     */ 
/*     */ 
/*     */   
/*     */   public Pair<? extends IBakedModel, Matrix4f> handlePerspective(ItemCameraTransforms.TransformType transformType) {
/*  74 */     GlStateManager.func_179144_i(this.g.func_110552_b());
/*     */     
/*  76 */     if (this.q.v() > 0.0F) {
/*  77 */       GlStateManager.func_179152_a(this.q.v(), this.q.v(), this.q.v());
/*     */     }
/*     */     
/*  80 */     if (this.q.v().size() == 3) {
/*  81 */       GlStateManager.func_179109_b(((Float)this.q
/*  82 */           .v().get(0)).floatValue(), ((Float)this.q
/*  83 */           .v().get(1)).floatValue(), ((Float)this.q
/*  84 */           .v().get(2)).floatValue());
/*     */     }
/*     */ 
/*     */     
/*  88 */     Pair pair = this.w.handlePerspective(transformType);
/*  89 */     return Pair.of(new uf(this.g, (IBakedModel)pair.getKey(), this.q), pair.getRight());
/*     */   }
/*     */ 
/*     */   
/*     */   public ItemCameraTransforms func_177552_f() {
/*  94 */     return this.w.func_177552_f();
/*     */   }
/*     */ 
/*     */   
/*     */   public boolean isAmbientOcclusion(IBlockState iBlockState) {
/*  99 */     return this.w.isAmbientOcclusion(iBlockState);
/*     */   }
/*     */   
/*     */   public IBakedModel getmProxy() {
/* 103 */     return this.w;
/*     */   }
/*     */ }


/* Location:              D:\fanbian\[D][龙之核心]DragonCore-2.6.0.3.jar!\eos\moe\dragoncor\\uf.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.1.3
 */